package com.endbd.feignapi.api;

import com.endbd.feignapi.model.system.User;
import com.endbd.feignapi.util.ResultMessage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("system-service")
public interface SystemApi {

    @PostMapping("/system/logs/record")
    public boolean recordLog(@RequestParam Integer uId, @RequestParam Integer moduleId, @RequestParam String content);

}
